<section class="content-header">
    <h1>景区列表</h1>
</section>

<section class="content">
    <div class="box box-primary">
        <div class="box-header">
            <i class="ion ion-clipboard"></i>
            <h3 class="box-title">景区列表</h3>
            <div class="box-tools pull-right">
                <a class="btn btn-block btn-primary" href="#/regionsCreat"><i class="fa fa-plus small-pr"></i>创建景区</a>
            </div>
        </div>
        <div class="box-body">
            <ul class="todo-list" ng-sortable="regionSort">
                <li ng-repeat="region in regions">
                    <a class="display-block" href="#/regionsDetail/{{region.region_id}}">
                        <span class="handle">
                          <i class="fa fa-ellipsis-v"></i>
                          <i class="fa fa-ellipsis-v"></i>
                        </span>
                        <img class="regions-img" ng-src="{{region.thumbnail}}?imageView2/2/w/30/h/30" width="30" height="30" />
                        <span class="text"><strong>{{region.name}} </strong>{{region.company}} {{region.code}}</span>
                    </a>
                    <div class="tools">
                        <i class="fa" ng-class="region.is_hot ? 'fa-star' : 'fa-star-o'" ng-click="regionHot(region)"></i>
                        <i class="fa" ng-class="region.is_hidden ? 'fa-eye-slash' : 'fa-eye'" ng-click="regionHidden(region)"></i>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</section>